package edu.gdut.tiantian.service;

import java.util.List;
import java.util.Map;

import edu.gdut.tiantian.entity.Order;

public interface IOrderService {
	List<Order> findByCondition(Map<String,String> condition,int pageNum);
	
	void updateStatus(String orderId);
	
	void addOrder(Order order,String userId,String orderId);
	
	void withdraw(String orderId);
	
	Order findByOrderId(String orderId);
}
